package web.form;
import java.util.ArrayList;
import java.util.List;

import org.apache.commons.collections.FactoryUtils;
import org.apache.commons.collections.list.LazyList;


public class DelegationsList {
	private List<DelegationInfo> list;
	
	@SuppressWarnings("unchecked")
	public DelegationsList() {
		list = LazyList.decorate(new ArrayList<DelegationInfo>(), FactoryUtils.instantiateFactory(DelegationInfo.class)); 
	}
	
	public DelegationsList(List<DelegationInfo> list) {
		this.list = list;
	}
	
	public List<DelegationInfo> getList() {
		return list;
	}

	public void setList(List<DelegationInfo> list) {
		this.list = list;
	}



	
}
